package com.springhibernate.demo.service;

import java.util.List;

import com.springhibernate.demo.entity.Order;

public interface IOrderService 
{
	public void save(Order entity);
	public void delete(Order entity);
	public void delete(Long id);
	public Order findOne(Long id);
	public List<Order> findAll();
	
//	<S extends T> S save(S entity);
//	<S extends T> Iterable<S> save(Iterable<S> entities);
//	void delete(ID id);
//	void delete(T entity);
//	void delete(Iterable<? extends T> entities);
//	void deleteAll();
//	T findOne(ID id);
//	Iterable<T> findAll();
//	Iterable<T> findAll(Iterable<ID> ids);
//	boolean exists(ID id);
//	long count();
}
